<th:block th:fragment="frag(list)">
	<th:block th:with="pageData=${list.listData},meta=${list.app.object.data.get('meta')}">
    <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="true">
	  <i class="fa fa-bell-o"></i>
	  <span class="label label-info" th:text="${pageData.results}"></span>
	</a>
	<ul class="dropdown-menu" style="width:300px">
       <li class="header">您有<span th:text="${pageData.results}"/>个<span th:text="${list.app.object.name}"/></li>
       <li>
         <!-- inner menu: contains the actual data -->
         <ul class="menu">
           <th:block th:each="row : ${pageData.rows}">
           <!-- start message -->
           <li th:data-app-row="${list.getListRowJson(rowStat.index)}" th:data-app-pk="${list.properties.get(0).id}">
             <a>
               <th:block th:with="processValue=${list.getListValue(rowStat.index, list.properties.get(2).id)}">
	               <h3>
	                 <span th:text="${list.getListValue(rowStat.index, list.properties.get(1).id)}"></span>
	                 <small class="pull-right" th:text="|${processValue}%|"></small>
	               </h3>
	               <div class="progress xs">
	                 <div class="progress-bar progress-bar-aqua" th:style="|width: ${processValue}%|" role="progressbar" th:aria-valuenow="${processValue}" 
	                 	aria-valuemin="0" aria-valuemax="100">
	                   <span class="sr-only" th:text="|${processValue}% Complete|"></span>
	                 </div>
	               </div>
               </th:block>
             </a>
           </li>
           <!-- end message -->
           </th:block>
         </ul>
       </li>
       <li class="footer"><a th:href="@{/(menu=${list.app.data.get('menu')})}">查看所有</a></li>
     </ul>
</th:block>
</th:block>